<template>
  <div class="text">
    <div>
      <el-row>
        <el-col :span="16" :offset="4">
          <div> 请选择</div>
        </el-col>
      </el-row>
      <el-row style="margin-top:12px">
        <el-col>
          <el-col :span="3" :offset="4">
            <div class="grid-content bg-purple">
              <el-button @click="click(0)" type="primary">我要创建机构</el-button>
            </div>
          </el-col>
          <el-col :span="1">
            <div class="grid-content bg-purple-light" style="line-height:32px">
              或者
            </div>
          </el-col>
          <el-col :span="3">
            <el-button @click="click(1)" type="primary">我要加入机构</el-button>
          </el-col>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    click (data) {
      this.$emit('next', data)
    }
  }
}
</script>
